package com.epam.task.string.BookParts;

import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: zhunusbekova.arailym
 * Date: 22.08.13
 * Time: 13:43
 * To change this template use File | Settings | File Templates.
 */
public class Text extends TextPart<Paragraph> {
    private static final long serialVersionUID = 1L;

    public Text(String text) {

        for (String text: pgh) {
            this.add(new Paragraph(text));
        }
    }
}
